19 lines
253 B
Makefile
19 lines
253 B
Makefile
LIB_PATH=$(shell heptc -where)
|
|
OBJ=first_c/first.c
|
|
|
|
all: main
|
|
|
|
$(OBJ): first.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
|