1
0
Fork 0

initial commit

This commit is contained in:
Lukas Wurzinger 2021-02-08 17:07:25 +01:00
commit 016ed8ff6c
14 changed files with 1932 additions and 0 deletions

23
test/Makefile Normal file
View file

@ -0,0 +1,23 @@
CC = cc
LDFLAGS = -lreadopt
MACROS = -D_POSIX_C_SOURCE=200809L
CFLAGS = $(MACROS) --std=c99 -O2 -g -Wall -Wextra -Wpedantic
SOURCES = test.c
OBJECTS = $(SOURCES:.c=.o)
RM = rm -f --
CP = cp --
all: test
%.o: %.c
$(CC) $(CFLAGS) -c $<
test: $(OBJECTS)
$(CC) $(CFLAGS) -o $@ $^ $(LDFLAGS)
clean:
$(RM) $(OBJECTS)
.PHONY: clean