-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathMakefile.hppa
More file actions
18 lines (12 loc) · 1.26 KB
/
Copy pathMakefile.hppa
File metadata and controls
18 lines (12 loc) · 1.26 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# Makefile for HPPA PA-RISC (hppa-linux-gnu)
include mk/objects.mk
CC = hppa-linux-gnu-gcc
CFLAGS = -std=c89 -pedantic -pedantic-errors -Wall -Wextra -Werror -Wshadow -Wpointer-arith -Wcast-qual -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wold-style-definition -Wnested-externs -Wredundant-decls -Wstrict-overflow=5 -Wsign-conversion -Wfloat-equal -Wundef -Wbad-function-cast -Wmissing-field-initializers -Waggregate-return -Wstrict-aliasing=3 -Wformat=2 -Wformat-overflow=2 -Wformat-truncation=2 -Wstringop-overflow=4 -Wstringop-truncation -Walloc-zero -Walloca -Wvla -Wpacked -Winline -Wdisabled-optimization -Wswitch-enum -Wswitch-default -Wunused -Wunused-parameter -Wunused-function -Wunused-variable -Wunused-macros -Wunused-const-variable -Wunused-value -unused-result -Wunused-label -Wunused-but-set-variable -Wunused-but-set-parameter -Wdouble-promotion -Wjump-misses-init -Wsuggest-attribute=const -Wsuggest-attribute=noreturn -O3 -fstrict-aliasing -fno-strict-overflow -fno-delete-null-pointer-checks -fno-common -fwrapv -fstack-protector-all -DMULTIPLE_SCORE_ENTRY
LDFLAGS = -lncursesw -ltinfow -lm
all: larn
larn: $(OBJS)
$(CC) $(CFLAGS) $(OBJS) -o larn $(LDFLAGS)
%.o: %.c
$(CC) $(CFLAGS) -c $< -o $@
clean:
rm -f *.o larn