- Timestamp:
- Nov 17, 2010, 5:01:26 PM (14 years ago)
- Location:
- liacs
- Files:
-
- 1 edited
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
liacs/TPFL2010/assignment2/Makefile
r232 r234 9 9 CFLAGS+=-Wall -g 10 10 PROGRAMS=XXX 11 12 # Easy package solution 13 PREFIX=0433373-hvdzwet 14 SUFFIX=$(shell pwd -P | sed 's+.*/\(.*\)/\(.*\)+\1-\2+') 15 ARCHIVE=${PREFIX}-${SUFFIX}.tar 16 PACKAGE=report.pdf report.tex 11 17 12 18 all: $(PROGRAMS) … … 22 28 ones: $(PROGRAMS) 23 29 @sh -c ./$(PROGRAMS) 30 31 package: $(ARCHIVE) 32 $(ARCHIVE): $(PACKAGE) 33 tar --exclude-vcs --xform s+^+${PREFIX}-${SUFFIX}/+ -cf ${ARCHIVE} ${PACKAGE} -
liacs/templates/Makefile
r2 r234 9 9 CFLAGS+=-Wall -g 10 10 PROGRAMS=XXX 11 12 # Easy package solution 13 PREFIX=0433373-hvdzwet 14 SUFFIX=$(shell pwd -P | sed 's+.*/\(.*\)/\(.*\)+\1-\2+') 15 ARCHIVE=${PREFIX}-${SUFFIX}.tar 16 PACKAGE=report.pdf report.tex 11 17 12 18 all: $(PROGRAMS) … … 22 28 ones: $(PROGRAMS) 23 29 @sh -c ./$(PROGRAMS) 30 31 package: $(ARCHIVE) 32 $(ARCHIVE): $(PACKAGE) 33 tar --exclude-vcs --xform s+^+${PREFIX}-${SUFFIX}/+ -cf ${ARCHIVE} ${PACKAGE}
Note:
See TracChangeset
for help on using the changeset viewer.