Add Makefile
This commit is contained in:
parent
f2f50ed3e4
commit
e407ce073e
12
src/Makefile
Normal file
12
src/Makefile
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
CC=g++
|
||||||
|
|
||||||
|
all: simpleFile
|
||||||
|
|
||||||
|
simpleFile: simpleFile.o
|
||||||
|
$(CC) -o $@ $^
|
||||||
|
|
||||||
|
%.o: %.cpp
|
||||||
|
$(CC) -c $< -o $@
|
||||||
|
|
||||||
|
clean:
|
||||||
|
rm *.o
|
||||||
Loading…
Reference in New Issue
Block a user