update,
This commit is contained in:
22
task1/provided/Makefile
Normal file
22
task1/provided/Makefile
Normal file
@@ -0,0 +1,22 @@
|
||||
# COMP1521 22T2 ... a general makefile for multiple exercises
|
||||
|
||||
ifneq (, $(shell which dcc))
|
||||
CC = dcc
|
||||
else ifneq (, $(shell which clang) )
|
||||
CC = clang
|
||||
else
|
||||
CC = gcc
|
||||
endif
|
||||
|
||||
EXERCISES ?=
|
||||
CLEAN_FILES ?=
|
||||
|
||||
.DEFAULT_GOAL = all
|
||||
.PHONY: all clean
|
||||
|
||||
-include *.mk
|
||||
|
||||
all: ${EXERCISES}
|
||||
|
||||
clean:
|
||||
-rm -f ${CLEAN_FILES}
|
Reference in New Issue
Block a user