diff options
Diffstat (limited to 'bin/Makefile')
-rw-r--r-- | bin/Makefile | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/bin/Makefile b/bin/Makefile new file mode 100644 index 000000000..f64b3b839 --- /dev/null +++ b/bin/Makefile @@ -0,0 +1,12 @@ +BINNVIF_CC = $(CFLAGS) +BINNVIF_LD = $(LDFLAGS) -lnvif -lncurses -lmenu -lform -L$(lib) + +srcs = $(wildcard $(bin)/*.c) +outp = $(srcs:.c=) + +$(outp): %: %.c $(lib)/libnvif.so + @echo -e " CCLD $@" + @$(CC) $(BINNVIF_CC) $(BINNVIF_LD) -MMD -MP -o $@ $< + +deps += $(srcs:.c=.d) +bins += $(outp) |