GHC ?= ghc all: db-modules db-modules: GenDBModules ./GenDBModules GenDBModules: GenDBModules.hs ../DDNS/DBInfo.hs $(GHC) --make GenDBModules -i.. clean: rm -f GenDBModules *.hi *.o rm -f ../DDNS/DB.hs rm -rf ../DDNS/DB rm -f ../DDNS/*.hi ../DDNS/*.o .PHONY: all db-modules clean