Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

apply gentoo patches and PR patches #13

Merged
merged 1 commit into from
May 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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