Skip to content

Commit

Permalink
apply gentoo patches and PR patches
Browse files Browse the repository at this point in the history
  • Loading branch information
anoraktrend committed May 24, 2024
1 parent 798eb92 commit 379605a
Show file tree
Hide file tree
Showing 7 changed files with 6,181 additions and 21 deletions.
35 changes: 17 additions & 18 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
DEFINES = -DSYS5 -DBSD_SELECT
DEFINES = -DSYS5 -DBSD_SELECT -DNCURSE -DHAS_UNISTD -DHAS_STDLIB -DHAS_CTYPE -DHAS_SYS_IOCTL -DHAS_SYS_WAIT -DHAS_UNISTD -DHAS_STDARG -DHAS_STDLIB -DHAS_SYS_WAIT -DSLCT_HDR

CFLAGS = -DHAS_UNISTD -DHAS_STDLIB -DHAS_CTYPE -DHAS_SYS_IOCTL -DHAS_SYS_WAIT -DHAS_UNISTD -DHAS_STDARG -DHAS_STDLIB -DHAS_SYS_WAIT -Ofast -march=native -mtune=native -flto -fcommon -s -DSLCT_HDR
CFLAGS= -Ofast -march=native -mtune=native -flto -fcommon -s

main : ncurses

Expand All @@ -9,15 +9,14 @@ install : main

uninstall : clean
@./uninstall-sh

clean :
rm -f *.o aee ane xae_dir/*.o

all : ncurses new_curse

CC = clang

OBJS = aee.o control.o format.o localize.o srch_rep.o delete.o mark.o motion.o keys.o help.o windows.o journal.o file.o
OBJS = aee.o control.o format.o localize.o srch_rep.o delete.o mark.o new_curse.o motion.o keys.o help.o windows.o journal.o file.o

.c.o:
$(CC) $(DEFINES) -c $*.c $(CFLAGS)
Expand All @@ -28,17 +27,17 @@ ncurses : $(OBJS)
curses : $(OBJS)
$(CC) -o aee $(OBJS) $(CFLAGS) $(LDFLAGS) -DCURSES -lncursesw

aee.o: aee.c aee.h aee_version.h
control.o: control.c aee.h
delete.o: delete.c aee.h
format.o: format.c aee.h
help.o: help.c aee.h
journal.o: journal.c aee.h
windows.o: windows.c aee.h
file.o: file.c aee.h
keys.o: keys.c aee.h
localize.o: localize.c aee.h
mark.o: mark.c aee.h
motion.o: motion.c aee.h
srch_rep.o: srch_rep.c aee.h

aee.o: aee.c aee.h new_curse.h aee_version.h
control.o: control.c new_curse.h aee.h
delete.o: delete.c new_curse.h aee.h
format.o: format.c new_curse.h aee.h
help.o: help.c new_curse.h aee.h
journal.o: journal.c new_curse.h aee.h
windows.o: windows.c new_curse.h aee.h
file.o: file.c new_curse.h aee.h
keys.o: keys.c new_curse.h aee.h
localize.o: localize.c new_curse.h aee.h
mark.o: mark.c new_curse.h aee.h
motion.o: motion.c new_curse.h aee.h
srch_rep.o: srch_rep.c new_curse.h aee.h
new_curse.o: new_curse.c new_curse.h
Loading

0 comments on commit 379605a

Please sign in to comment.