2025-11-28 00:35:46 +09:00

20 lines
416 B
Makefile

!include <win32.mak>
Proj = Obscure
LinkObjs = $(Proj).obj
all: $(Proj).exe
$(Proj).obj: $(Proj).c
$(cc) $(cflags) $(cvars) $(cdebug) $(Proj).c
$(Proj).exe: $(LinkObjs)
$(link) $(linkdebug) $(guiflags) -out:$@ $(LinkObjs) $(guilibs)
clean:
-if exist $(Proj).obj del $(Proj).obj
-if exist $(Proj).exe del $(Proj).exe
-if exist $(Proj).pdb del $(Proj).pdb
-if exist vc60.pdb del vc60.pdb