1
0
mirror of https://github.com/janet-lang/janet synced 2024-12-03 21:39:54 +00:00
janet/natives/hello/Makefile

25 lines
420 B
Makefile

# Autogenerated Makefile, do not edit
# Generated at Fri Aug 3 22:55:50 EDT 2018
CFLAGS:=-std=c99 -Wall -Wextra -O2 -shared -fpic
LDFLAGS:=
SOURCES:=main.c
HEADERS:=
OBJECTS:=$(patsubst %.c,%.o,${SOURCES})
TARGET:=hello.so
all: ${TARGET}
%.o: %.c ${HEADERS}
${CC} ${CFLAGS} -o $@ -c $< ${LDFLAGS}
${TARGET}: ${OBJECTS}
${CC} ${CFLAGS} -o $@ $^ ${LDFLAGS}
clean:
rm ${OBJECTS}
rm ${TARGET}
.PHONY: all clean