Skip to content

Commit

Permalink
change all line endings to UNIX style
Browse files Browse the repository at this point in the history
  • Loading branch information
chikuzen committed Oct 18, 2012
1 parent adcf05c commit f8b1ecb
Show file tree
Hide file tree
Showing 3 changed files with 448 additions and 448 deletions.
60 changes: 30 additions & 30 deletions GNUmakefile
Original file line number Diff line number Diff line change
@@ -1,30 +1,30 @@
include config.mak

SRCS = jpgreader.c

OBJS = $(SRCS:%.c=%.o)

.PHONY: all clean distclean

all: $(LIBNAME)

$(LIBNAME): $(OBJS)
$(LD) -o $@ $(LDFLAGS) $^ $(LIBS)
$(if $(STRIP), $(STRIP) -x $@)

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

clean:
$(RM) *.o *.dll

distclean: clean
$(RM) config.mak .depend

ifneq ($(wildcard .depend),)
include .depend
endif

.depend: config.mak
@$(RM) .depend
@$(foreach SRC, $(SRCS), $(CC) $(SRC) $(CFLAGS) -g0 -MT $(SRC:%.c=%.o) -MM >> .depend;)
include config.mak

SRCS = jpgreader.c

OBJS = $(SRCS:%.c=%.o)

.PHONY: all clean distclean

all: $(LIBNAME)

$(LIBNAME): $(OBJS)
$(LD) -o $@ $(LDFLAGS) $^ $(LIBS)
$(if $(STRIP), $(STRIP) -x $@)

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

clean:
$(RM) *.o *.dll

distclean: clean
$(RM) config.mak .depend

ifneq ($(wildcard .depend),)
include .depend
endif

.depend: config.mak
@$(RM) .depend
@$(foreach SRC, $(SRCS), $(CC) $(SRC) $(CFLAGS) -g0 -MT $(SRC:%.c=%.o) -MM >> .depend;)
Loading

0 comments on commit f8b1ecb

Please sign in to comment.