1#!/usr/bin/make -f 2 3# include Husky-Makefile-Config 4include ../huskymak.cfg 5 6ifeq ($(DEBUG), 1) 7 POPT = -d$(OSTYPE) -Fu$(INCDIR) -dDEBUG 8else 9 POPT = -d$(OSTYPE) -Fu$(INCDIR) -dRELEASE 10endif 11 12all: protick$(EXE) 13 14PASFILES= protick.pas mkglobt.pas mkmisc.pas mkmsgabs.pas mkmsgfid.pas \ 15 mkmsgezy.pas mkmsgjam.pas mkmsghud.pas mkmsgsqu.pas types.pas generalp.pas \ 16 crc.pas log.pas inifile.pas ptregkey.pas tickcons.pas ticktype.pas \ 17 ptprocs.pas ptvar.pas ptmsg.pas ptcfg.pas ptout.pas 18 19protick$(EXE): $(PASFILES) 20 $(PC) $(POPT) protick.pas 21 22clean: 23 -$(RM) $(RMOPT) *$(OBJ) 24 -$(RM) $(RMOPT) *$(TPU) 25 -$(RM) $(RMOPT) *$(LIB) 26 -$(RM) $(RMOPT) *~ 27 28distclean: clean 29 -$(RM) $(RMOPT) protick$(EXE) genkey$(EXE) 30 31install: protick$(EXE) 32 $(INSTALL) $(IBOPT) protick$(EXE) $(BINDIR) 33 34uninstall: 35 -$(RM) $(RMOPT) $(BINDIR)$(DIRSEP)protick$(EXE) 36 37