Skip to content

Commit

Permalink
gitignore
Browse files Browse the repository at this point in the history
  • Loading branch information
silv3rr committed Jul 13, 2018
1 parent 44057dc commit 0be4622
Show file tree
Hide file tree
Showing 5 changed files with 84 additions and 6 deletions.
13 changes: 7 additions & 6 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,9 +1,3 @@
# Excludes
!testing/mover/Makefile
!testing/new/Makefile
!unsorted-older/kicker/Makefile
!unsorted-older/lastraces/Makefile

# Object files
*.o
*.ko
Expand Down Expand Up @@ -50,3 +44,10 @@ autom4te.cache/
*.bak
*.log
*.new

# Includes
!testing/mover/Makefile
!testing/new/Makefile
!unsorted-older/kicker/Makefile
!unsorted-older/lastraces/Makefile

19 changes: 19 additions & 0 deletions testing/mover/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@

include ../../src/Makefile.config

SRCDIR = ../../src

OBJS = $(LIBDIR)/collection/strlist.o $(LIBDIR)/collection/hashtable.o \
$(LIBDIR)/lib/stringtokenizer.o $(LIBDIR)/util/linefilereader.o \
$(LIBDIR)/collection/sortedlist.o


all: foo-mover


foo-mover: mover.o
gcc -O2 -o $@ $< $(OBJS)

clean:
rm -f *~ *.o foo-mover

18 changes: 18 additions & 0 deletions testing/new/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@

include ../Makefile.config

SRCDIR = ..

OBJS = dirlog.o dirlog_wrap.o ../collection/sortedlist.o ../collection/hashtable.o \
../util/linefilereader.o ../lib/dirlist.o ../collection/strlist.o ../lib/sfv.o \
../util/date.o ../lib/stringtokenizer.o ../lib/pwdfile.o


all: foo-new

foo-new: new.o $(OBJS)
gcc -O2 -o $@ $< $(OBJS)

clean:
rm -f *~ *.o foo-new

23 changes: 23 additions & 0 deletions unsorted-older/kicker/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@

include ../../src/Makefile.config

SRCDIR = ../../src

LIBS = $(LIBDIR)/lib/gllogs.o $(LIBDIR)/collection/strlist.o \
$(LIBDIR)/lib/who.o $(LIBDIR)/util/linefilereader.o

#
# Set this to your ipckey !!
#
DEFS = -DIPCKEY=0x0000DEAD

foo-antidualleech: antidualleech.o
gcc -O2 -o $@ $< $(LIBS)

all: foo-antidualleech

install: all
install -m4711 foo-antidualleech $(FTPROOT)/bin/cscript/

clean:
rm -f *.o *~ foo-antidualleech
17 changes: 17 additions & 0 deletions unsorted-older/lastraces/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@

include ../../src/Makefile.config

SRCDIR = ../../src
LIBS = $(LIBDIR)/lib/common.o $(LIBDIR)/collection/strlist.o $(LIBDIR)/lib/pwdfile.o \
$(LIBDIR)/collection/sortedlist.o $(LIBDIR)/util/linefilereader.o \
$(LIBDIR)/lib/stringtokenizer.o

TARGET = foo-lastraces

$(TARGET): lastraces.o
$(CC) -o $@ $< $(LIBS)

all: $(TARGET)

clean:
rm -f *.o *~ $(TARGET)

0 comments on commit 0be4622

Please sign in to comment.