Skip to content

Commit

Permalink
code cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
DerellLicht committed Jun 30, 2016
1 parent d6d0789 commit b2cb790
Show file tree
Hide file tree
Showing 6 changed files with 1,009 additions and 211 deletions.
2 changes: 2 additions & 0 deletions .gitignore
@@ -0,0 +1,2 @@
*.exe
*.o
34 changes: 34 additions & 0 deletions Makefile
@@ -0,0 +1,34 @@
USE_DEBUG = NO

ifeq ($(USE_DEBUG),YES)
CFLAGS=-Wall -O -g
else
CFLAGS=-Wall -O3 -s
endif

all: beer_cals.exe dms2dd.exe mortgage.exe prime32.exe printf2.exe ulocate.exe serial_enum.exe

clean:
rm -f *.exe

beer_cals.exe: beer_cals.cpp
g++ $(CFLAGS) -Weffc++ $< -o $@

dms2dd.exe: dms2dd.cpp
g++ $(CFLAGS) -Weffc++ $< -o $@

mortgage.exe: mortgage.cpp
g++ $(CFLAGS) -Weffc++ $< -o $@

prime32.exe: prime32.cpp
g++ $(CFLAGS) -Weffc++ $< -o $@

printf2.exe: printf2.c
gcc $(CFLAGS) -DTEST_PRINTF $< -o $@

ulocate.exe: ulocate.cpp
g++ $(CFLAGS) -Weffc++ $< -o $@

serial_enum.exe: serial_enum.cpp
g++ $(CFLAGS) -DUNICODE -D_UNICODE $< -o $@ -lsetupapi

126 changes: 0 additions & 126 deletions apptest.cpp

This file was deleted.

0 comments on commit b2cb790

Please sign in to comment.