Changeset 69 for Swollen/swollen/Makefile
- Timestamp:
- Dec 16, 2004, 10:42:39 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Swollen/swollen/Makefile
r67 r69 31 31 $(OPTIMIZATION) 32 32 33 34 33 35 %.o : %.cpp 34 36 $(COMPILER) -c $(INCLUDES) $(CPPFLAGS) $< -o $@ … … 39 41 40 42 43 .PHONY : version.cpp 44 45 # on every build, recreate version() string based on SVN revision number 46 version.cpp: 47 echo -n 'const char* version() { const char* s = "Revision: ' > version.cpp 48 svnversion -n . >> version.cpp 49 echo '"; return s; }' >> version.cpp 50 51 41 52 clean : 42 53 rm -f *.o *~ $(TARGET)
Note: See TracChangeset
for help on using the changeset viewer.