2012-10-15 02:08:06 +02:00
|
|
|
!include "../mkfiles/generic.mak"
|
|
|
|
|
|
|
|
CFLAGS = -I..$(DIRSEP)hdr
|
|
|
|
|
2022-05-26 10:29:13 +02:00
|
|
|
production: patchobj.com exeflat.exe upxentry.bin upxdevic.bin
|
2012-10-15 02:08:06 +02:00
|
|
|
|
|
|
|
patchobj.com: patchobj.c
|
|
|
|
$(CLT) $(CFLAGS) patchobj.c
|
|
|
|
|
2022-05-25 18:40:40 +02:00
|
|
|
upxentry.bin: upxentry.asm
|
|
|
|
$(NASM) -f bin upxentry.asm -o upxentry.bin
|
|
|
|
|
2022-05-26 10:29:13 +02:00
|
|
|
upxdevic.bin: upxdevic.asm
|
|
|
|
$(NASM) -f bin upxdevic.asm -o upxdevic.bin
|
|
|
|
|
2012-10-15 02:08:06 +02:00
|
|
|
exeflat.exe: exeflat.c ../hdr/exe.h
|
|
|
|
$(CLC) $(CFLAGS) exeflat.c
|
|
|
|
|
|
|
|
|
|
|
|
clobber: clean
|
|
|
|
|
|
|
|
clean:
|
|
|
|
$(RM) *.obj *.bak *.crf *.xrf *.map *.lst *.las *.cod *.err status.me
|
2022-05-26 10:29:13 +02:00
|
|
|
$(RM) exeflat.exe patchobj.com upxentry.bin upxdevic.bin
|
2012-10-15 02:08:06 +02:00
|
|
|
|