1
0
mirror of https://github.com/janet-lang/janet synced 2024-12-04 05:49:55 +00:00
janet/natives/hello/Makefile

25 lines
420 B
Makefile
Raw Normal View History

# 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}
2018-05-23 00:45:52 +00:00
%.o: %.c ${HEADERS}
${CC} ${CFLAGS} -o $@ -c $< ${LDFLAGS}
${TARGET}: ${OBJECTS}
${CC} ${CFLAGS} -o $@ $^ ${LDFLAGS}
clean:
rm ${OBJECTS}
rm ${TARGET}
.PHONY: all clean