Skip to content

Instantly share code, notes, and snippets.

@simonwh
Created October 30, 2012 20:29
Show Gist options
  • Save simonwh/3982808 to your computer and use it in GitHub Desktop.
Save simonwh/3982808 to your computer and use it in GitHub Desktop.
all: fifo
OBJS = list.o main.o
LIBS= -lpthread
fifo: main.o ${OBJS}
gcc -o $@ ${LIBS} ${OBJS}
listtest: listtest.o
gcc list.c listtest.c -o listtest ${LIBS}
procon: procon.o
gcc list.c procon.c -o procon ${LIBS}
banker: banker.o
gcc banker.c -o banker ${LIBS}
clean:
rm -rf *o fifo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment