cstr/tp2-obj1-meens/Makefile
2025-04-03 12:08:22 +02:00

19 lines
289 B
Makefile

LIB_PATH=$(shell heptc -where)
OBJ=rcounter_c/rcounter.c rcounter_c/rcounter_types.c
all: main
$(OBJ): rcounter.ept
heptc -target c $<
main: $(OBJ)
gcc -I $(LIB_PATH)/c -I . main.c $<
clean:
$(RM) *.log
$(RM) *.epci
$(RM) *.mls
$(RM) *.o *.obj *.obc
$(RM) -r *_c
$(RM) *.out