# Change WXDIR or WXWIN to wherever wxWindows is found
WXDIR = $(WXWIN)
-WXLIB = $(WXDIR)\lib\wx.lib
-WXINC = $(WXDIR)\include
WINPNGDIR = ..\png
WINPNGINC = $(WINPNGDIR)
all: $(WINPNGLIB)
$(WINPNGLIB): $(OBJECTS)
- erase $(WINPNGLIB)
+ -erase $(WINPNGLIB)
lib @<<
-out:$(WINPNGLIB)
$(OBJECTS)
cl -DWIN32 $(OPT) $(CFLAGS) /c $*.c
clean:
- erase *.obj
- erase *.exe
- erase *.lib
+ -erase *.obj
+ -erase *.exe
+ -erase *.lib
cleanall: clean