Kart-Public/comptime.mk

22 lines
333 B
Makefile
Raw Normal View History

2014-03-15 16:59:03 +00:00
#Add-on Makefile for wxDev-C++ project file
SRCDIR=src
ifdef ComSpec
COMSPEC=$(ComSpec)
endif
all-before:
ifdef COMSPEC
${RM} $(SRCDIR)\comptime.h
comptime.bat $(SRCDIR)
else
${RM} $(SRCDIR)/comptime.h
./comptime.sh $(SRCDIR)
endif
clean-custom:
ifdef COMSPEC
${RM} $(SRCDIR)\comptime.h
else
${RM} $(SRCDIR)/comptime.h
endif