feat(tp2-obj2)
This commit is contained in:
21
tp2-obj2-meens/Makefile
Normal file
21
tp2-obj2-meens/Makefile
Normal file
@@ -0,0 +1,21 @@
|
||||
LIB_PATH=$(shell heptc -where)
|
||||
OBJ=extern.c hs_handler_c/hs_handler.c hs_handler_c/hs_handler_types.c
|
||||
|
||||
all: main
|
||||
|
||||
b: hs_handler.ept
|
||||
heptc -target c $<
|
||||
|
||||
a: extern.epi
|
||||
heptc $<
|
||||
|
||||
main: $(OBJ) a b
|
||||
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