We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8ad46e0 commit e199fecCopy full SHA for e199fec
race/Makefile
@@ -1,12 +1,15 @@
1
# TODO: enable atomic-add once Travis has gcc 4.9 (issue #9)
2
-PROGS=fcntl-fixed-race race sem-fixed-race
+PROGS=fcntl-fixed-race race sem-fixed-race posix-sem-fixed-race
3
4
all: $(PROGS)
5
6
atomic-add: CSTD = c11
7
atomic-add: atomic-add.o
8
$(CC) -o $@ $^ -lpthread
9
10
+posix-sem-fixed-race: posix-sem-fixed-race.o
11
+ $(CC) -o $@ $^ -lpthread
12
+
13
fcntl-fixed-race: fcntl-fixed-race.o
14
$(CC) -o $@ $^
15
semaphores/posix-sem-fixed-race.c renamed to race/posix-sem-fixed-race.c
semaphores/Makefile
@@ -1,15 +1,11 @@
PROGS=sem \
- posix-sem-fixed-race \
talking-heads
sem: sem.o
-posix-sem-fixed-race: posix-sem-fixed-race.o
- $(CC) -o $@ $^ -lpthread
-
talking-heads: talking-heads.o
0 commit comments