Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
tj committed Aug 13, 2010
0 parents commit db6b7cb
Show file tree
Hide file tree
Showing 6 changed files with 34 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
.DS_Store
bin
*.o
Empty file added History.md
Empty file.
24 changes: 24 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@

CC = gcc
SRCS = src/list.c \
src/test.c
OBJS = $(SRCS:.c=.o)
CFLAGS = -std=c99

all: bin/test

bin/test: $(OBJS)
@mkdir -p bin
$(CC) $(OBJS) -o $@

%.o: %.c
$(CC) $< $(CFLAGS) -c -o $@

clean:
rm -fr bin
rm src/*.o

test: bin/test
@./bin/test

.PHONY: test clean
Empty file added Readme.md
Empty file.
1 change: 1 addition & 0 deletions src/list.c
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

6 changes: 6 additions & 0 deletions src/test.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@

int
main(int argc, const char **argv){

return 0;
}

0 comments on commit db6b7cb

Please sign in to comment.