mirror of
https://github.com/pikvm/ustreamer.git
synced 2026-04-19 13:06:12 +00:00
Initial commit
This commit is contained in:
21
Makefile
Normal file
21
Makefile
Normal file
@@ -0,0 +1,21 @@
|
||||
CC = gcc
|
||||
CFLAGS = -c -Wall -Wextra -DDEBUG
|
||||
LDFLAGS =
|
||||
SOURCES = $(shell ls src/*.c)
|
||||
OBJECTS = $(SOURCES:.c=.o)
|
||||
PROG = ustreamer
|
||||
|
||||
|
||||
all: $(SOURCES) $(PROG)
|
||||
|
||||
|
||||
$(PROG): $(OBJECTS)
|
||||
$(CC) $(LDFLAGS) $(OBJECTS) -o $@
|
||||
|
||||
|
||||
.c.o:
|
||||
$(CC) $(CFLAGS) $< -o $@
|
||||
|
||||
|
||||
clean:
|
||||
rm -f src/*.o $(PROG)
|
||||
Reference in New Issue
Block a user