Skip to content
Permalink
24854adbf6
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
No 'higher' math is used in the sources.
(closes github issue #27)
3 contributors

Users who have contributed to this file

@wwwutz @thomas @niclas
26 lines (17 sloc) 448 Bytes
#
CFLAGS= -Wall -Werror -Wextra -pedantic \
-std=gnu99 -O2 -g
LDFLAGS=-lXaw -lXt -lX11
# gcc -o xdu -O2 -fno-strength-reduce -fno-strict-aliasing -L/usr/lib64 xdu.o xwin.o -lXaw -lXmu -lXt -lSM -lICE -lXpm -lXext -lX11
SRCS = xdu.c xwin.c
OBJS = xdu.o xwin.o
all: xdu
xdu: $(OBJS)
$(CC) -o $@ $(OBJS) $(LDFLAGS)
xwin.o: xwin.c
xdu.o: xdu.c
.PHONY: clean, nice
clean:
rm -f xdu xdu.o xwin.o
nice:
clang-format -i -style=webkit $(SRCS)