cstr/tp3-obj1-meens/Makefile
2025-04-25 12:08:31 +02:00

22 lines
315 B
Makefile

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