Permalink
Browse files

added listComPorts to makefile

  • Loading branch information...
1 parent 9c04c9b commit abea2cec8e3a402baea7d3b2a81689f05d2c3132 @todbot committed Mar 2, 2012
Showing with 8 additions and 2 deletions.
  1. +8 −2 Makefile
View
@@ -7,10 +7,16 @@ OS ?= WINDOWS
CC=gcc
CFLAGS ?= -O2 -Wall -std=c99
LIBS = -lhid -lsetupapi -lole32 -loleaut32 -luuid
+
+all: usbSearch.exe listComPorts.exe
+
usbSearch.exe: usbSearch.c
$(CC) $(CFLAGS) -s -DUSE_WIN32 -o usbSearch.exe usbSearch.c disphelper.c $(LIBS)
-
+listComPorts.exe: listComPorts.c
+ $(CC) $(CFLAGS) -s -DUSE_WIN32 -o listComPorts.exe listComPorts.c disphelper.c $(LIBS)
clean:
- rm -f usbSearch usbSearch.exe
+ rm -f usbSearch.exe
+ rm -f listComPorts.exe
+

0 comments on commit abea2ce

Please sign in to comment.