feat(tp2-obj3)

This commit is contained in:
2025-04-03 14:53:34 +02:00
parent 7d5fe9e4de
commit 43d7ae87d6
7 changed files with 113 additions and 0 deletions

21
tp2-obj3-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
a: extern.epi
heptc $<
$(OBJ): hs_handler.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