feat(tp2-obj2)

This commit is contained in:
2025-04-03 14:31:53 +02:00
parent 453e7aea56
commit 7d5fe9e4de
7 changed files with 111 additions and 0 deletions

21
tp2-obj2-meens/Makefile Normal file
View 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