box-o-sand/PracticingCurses/panels/Makefile

28 lines
352 B
Makefile
Raw Normal View History

2009-11-19 00:01:16 +00:00
# Makefile for JustForFun Files
# A few variables
CC=gcc
LIBS=-lpanel -lncurses
SRC_DIR=.
EXE_DIR=../demo/exe
EXES = \
${EXE_DIR}/panel_browse \
${EXE_DIR}/panel_hide \
${EXE_DIR}/panel_resize \
${EXE_DIR}/panel_simple
2009-11-19 00:01:16 +00:00
${EXE_DIR}/%: %.o
${CC} -o $@ $< ${LIBS}
2009-11-19 00:01:16 +00:00
%.o: ${SRC_DIR}/%.c
${CC} -o $@ -c $<
2009-11-19 00:01:16 +00:00
all: ${EXES}
clean:
@rm -f ${EXES}