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