feat(tp3-obj1)

This commit is contained in:
2025-04-25 12:08:31 +02:00
parent e4242061c3
commit bba56ded14
9 changed files with 152 additions and 2 deletions

21
tp3-obj1-meens/Makefile Normal file
View 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