feat(tp1)
This commit is contained in:
19
tp1-obj3-meens/Makefile
Normal file
19
tp1-obj3-meens/Makefile
Normal file
@@ -0,0 +1,19 @@
|
||||
LIB_PATH=$(shell heptc -where)
|
||||
OBJ=first_c/first.c
|
||||
|
||||
all: main
|
||||
|
||||
$(OBJ): first.ept
|
||||
heptc -target c $<
|
||||
|
||||
main: $(OBJ)
|
||||
gcc -I $(LIB_PATH)/c -I . main.c $<
|
||||
|
||||
clean:
|
||||
$(RM) *.log
|
||||
$(RM) *.epci
|
||||
$(RM) *.mls
|
||||
$(RM) *.o *.obj *.obc
|
||||
$(RM) -r *_c
|
||||
$(RM) *.out
|
||||
|
||||
Reference in New Issue
Block a user