Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

added listComPorts to makefile

  • Loading branch information...
commit abea2cec8e3a402baea7d3b2a81689f05d2c3132 1 parent 9c04c9b
@todbot authored
Showing with 8 additions and 2 deletions.
  1. +8 −2 Makefile
View
10 Makefile
@@ -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
+
Please sign in to comment.
Something went wrong with that request. Please try again.